package xyz.xiaotugou.designMode.staticProxy;

public class UnicomAgency implements ICar{

	private ICar car; //引入一个car的实现类
	
	public UnicomAgency(ICar car) {
		this.car = car;
	} 

	@Override
	public void run() {
		car.run();
	}

	@Override
	public void playMusic() {
		car.playMusic();
	}

	@Override
	public void airCondition() {
		car.airCondition();
	}
}
